projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b2913
)
(ucs-set-table-for-input): If
author
Kenichi Handa
<handa@m17n.org>
Wed, 24 Dec 2003 02:09:40 +0000
(
02:09
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 24 Dec 2003 02:09:40 +0000
(
02:09
+0000)
translation-table-for-encode is a symbol, get its
translation-table property.
lisp/international/ucs-tables.el
patch
|
blob
|
history
diff --git
a/lisp/international/ucs-tables.el
b/lisp/international/ucs-tables.el
index d91a4b9fbf29aecfb92569455cb461f4c4e57d51..476c8dfc19116516d0f49984ba14fd266cc9da96 100644
(file)
--- a/
lisp/international/ucs-tables.el
+++ b/
lisp/international/ucs-tables.el
@@
-2507,6
+2507,8
@@
BUFFER defaults to the current buffer."
(coding-system-base default-buffer-file-coding-system))))
(when cs
(setq table (coding-system-get cs 'translation-table-for-encode))
+ (if (and table (symbolp table))
+ (setq table (get table 'translation-table)))
(unless (char-table-p table)
(setq table (coding-system-get cs 'translation-table-for-input)))
(when (char-table-p table)